package com.so206.mapper;

import com.so206.po.SystemNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SystemNoticeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemNotice record);

    int insertSelective(SystemNotice record);

    SystemNotice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SystemNotice record);

    int updateByPrimaryKey(SystemNotice record);

    List<SystemNotice> selectByStstus(@Param("status") Integer status);

    List<SystemNotice> selectByStstus2(@Param("status") Integer status);

}